package com.woniuxy.web.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "swagger")
public class SwaggerProperties {

    //标题
    private String title;

    //描述
    private String desc;

    //版本号
    private String version;

    //包的扫描路径
    private String basePackages;

    //作者对象
    private AuthProperties auth;
}
